<admintpl file="header"/> 
<body class="J_scroll_fixed">
<div class="wrap jj">
  <div class="common-form">
    <form method="post" class="J_ajaxForm" action="{:U('Admin/mailer/active_post')}">
      <div class="table_list">
	    <table width="100%">
	        <thead>
	          <tr>
	            <td colspan="2">用户邮箱激活设置</td>
	          </tr>
	        </thead>
	        <tbody>
	        	<tr>
	        		<td width="100">邮箱激活</td>
	        		<td>
	        			<php>
	        				$radio1=''; $radio2=' checked';
	        				if(C('SP_MEMBER_EMAIL_ACTIVE')=='true'){
	        					$radio1=' checked'; $radio2='';
	        				}
	        			</php>
	        			<label for="lightup_true">开启</label><input type="radio" {$radio1} id="lightup_true" class="radio" name="lightup" value="true" />
	        			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	        			<label for="lightup_false">关闭</label><input type="radio" {$radio2} id="lightup_false" class="radio" name="lightup" value="false" />
	        			<input type="hidden" name="option_id" value="" />
	        		</td>
	        	</tr>
	        	<tr>
	        		<td>邮件标题</td>
	        		<td><input type="text" class="input mr5" name="options[title]" value="{$options.title}" /></td>
	        	</tr>
	        	<tr>
	        		<td>邮件模版</td>
	        		<td>
	        		<script type="text/javascript">
	                //编辑器路径定义
	                var editorURL = GV.DIMAUB;
	                </script>
	                <script type="text/javascript"  src="__ROOT__/statics/js/ueditor/ueditor.config.js{$js_debug}"></script>
	                <script type="text/javascript"  src="__ROOT__/statics/js/ueditor/ueditor.all.min.js{$js_debug}"></script>
					<script type="text/javascript">
					    var editorcontent = new baidu.editor.ui.Editor();
					    editorcontent.render('content');
					</script>
	        		<script type="text/plain" id="content" name="options[template]">{$options.template}</script>
					<style type="text/css">
					.content_attr {
						border: 1px solid #CCC;
						padding: 5px 8px;
						background: #FFC;
						margin-top: 6px
					}
					</style>
	        		<span style="color:#ffb752;">请用http://#link#代替激活链接，#username#代替用户名</span>
					</td>
	        	</tr>
			</tbody>
	    </table>
  </div>
  <div class="btn_wrap">
      <div class="btn_wrap_pd">
        <button type="submit" class="btn btn_submit mr10 J_ajax_submit_btn">确定</button>
      </div>
    </div>
    </form>
  </div>
</div>
<script src="__ROOT__/statics/js/common.js{$js_debug}"></script>
</body>
</html>